package org.jeecg.qis.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 过程检验单主表
 * @Author: shaolong
 * @Date: 2022-10-11
 * @Version: V1.0
 */
@Data
@TableName("qis_prochead_value")
@ApiModel(value = "qis_prochead_value对象", description = "过程检验单主表")
public class QisProcheadValue implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    private java.math.BigDecimal recId;
    /**
     * 物料主表配置ID
     */
    @Excel(name = "物料主表配置ID", width = 15)
    @ApiModelProperty(value = "物料主表配置ID")
    private String cfgid;
    /**
     * 送检日期
     */
    @Excel(name = "送检日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "送检日期")
    private Date checkdate;
    /**
     * 送检次数
     */
    @Excel(name = "送检次数", width = 15)
    @ApiModelProperty(value = "送检次数")
    private java.math.BigDecimal times;
    /**
     * 报交数
     */
    @Excel(name = "报交数", width = 15)
    @ApiModelProperty(value = "报交数")
    private java.math.BigDecimal qty;
    /**
     * 序列号
     */
    @Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "序列号")
    private String unitsn;
    /**
     * 1 = OK; 0 = NOK; 2 = N/A
     */
    @Excel(name = "1 = OK; 0 = NOK; 2 = N/A", width = 15)
    @ApiModelProperty(value = "1 = OK; 0 = NOK; 2 = N/A")
    private String result;
    /**
     * 处理方式
     */
    @Excel(name = "处理方式", width = 15)
    @ApiModelProperty(value = "处理方式")
    private String dispose;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 操作者
     */
    @Excel(name = "操作者", width = 15)
    @ApiModelProperty(value = "操作者")
    private String user;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
}
